Forward Engineer a Model

Forward Engineering enables you to generate a physical database schema directly from your physical model. The generated schema includes only the features and options supported by your target database platform.

This walkthrough demonstrates how to use the Forward Engineer wizard to configure schema generation options, connect to a target database using Fabric Warehouse as the example, and deploy the schema.

To forward engineer a model, follow these steps:

  1. On the Quest Data Modeler Overview page, under Quick Actions, select Open Model.

    The Open Model dialog opens.

    Open Model Dialog in Quest Data Modeler

  2. Open the model by using one of the following options:

    • Drag and drop a JSON file into the dialog, or select Browse to upload a model from your system, and then select Open.

    • Select Open existing Model to open a model created in the app.

    For example, HR Career Management model.

    Model opened in Logical view for Forward Engineering

  3. In the upper-right corner, use the view selector to switch to the physical view.

    The model opens in the physical view.

    HR Career Management model in Physical view with tables and relationships

    Note: If you select a subject area instead of the model, the Object Filter page of the Forward Engineer wizard displays only the objects included in that subject area.

  4. On the toolbar, select Tools icon on the ER diagram Toolbar > Forward Engineering.

    Forward Engineering option in toolbar

    The Forward Engineer Overview page opens displaying all the steps to follow through the wizard.

    Forward Engineer Overview page

  5. Verify the database name and version in the Database and Version fields, then select Next.

    Option Selection page showing object types and properties

  6. On the Option Selection page, select the database objects to include in the Object Type pane. In the Properties pane, select their respective properties to apply, and then select Next.

    Forward Engineer Owner Override page with the Object Name list expanded

  7. [Optional] On the Owner Override page, select an object and an owner override name for schema generation. To add a row, select Add row icon. Select Next to go to the next page.

    Forward Engineering Object Filters selection page

  8. On the Object Filter page, select or clear options to apply the object filters as required, and then select Next.

    The objects available on this page depend on whether you select the model or a subject area when you initiate the forward engineering process:

    • Model: Displays all objects in the model on the Object Filter page.

    • Subject Area: Displays only the objects included in the selected subject area on the Object Filter page.

    The Preview page opens and the schema preview is generated.

    Forward Engineering Preview Page

  9. Select Save button to save the generated schema to your local system. The following save options are available:

    • Save as single file (.sql): Saves the entire generated schema as one SQL script file.

    • Save as ZIP (one file per object): Saves each object as an individual file in a zip file.

    At this stage, in addition to saving the schema, you can perform the following actions:

    Actions Description
    Commit to GIT icon in Forward Engineer Wizard Commit to Git Save and version control schema changes in Git.
    This option allows you to connect to GitHub, Azure DevOps, GitLab, and Bitbucket repositories. For detailed information and steps to connect to the source control repositories, see Git Support.
    Find icon in Forward Engineer Wizard Find Search for specific objects within the schema.
    Print icon in Forward Engineer Wizard Print Generate a printable version of the schema.
    Copy icon in Forward Engineer Wizard Copy Copy schema content to clipboard.
    Replace icon in Forward Engineer Wizard Replace Use Find & Replace to modify schema objects.
    Full screen icon in Forward Engineer Wizard Full screen Expand schema preview to full screen.
  10. Select Generate.

    The Connection page opens.

    Connection page with connection parameters and disconnected status

  11. On the Connection page, enter the following connection parameters to establish a connection to your database server, and then select Connect. The following table lists the parameters for the Microsoft Fabric Data Warehouse database. For other supported databases, see Database Support.

    Parameters

    Description

    Connection Method

    Specifies the type of connection required to connect to the database.

    Select the type of connection as JDBC to connect to the database.

    Currently, only JDBC is supported.

    Client ID

    Unique identifier of the OAuth application used to connect to the cloud database required for databases that use OAuth authentication.

    Client Secret

    Confidential key associated with the Client ID used to securely obtain an access token from the OAuth provider during database connection.

    Warehouse Name

    Identifies the virtual compute warehouse that the database uses to execute queries.

    Server Name

    Host name or endpoint of the database server.

    Port

    Network port used by the database server to accept incoming connections.

    The script execution starts.

    Successful Completion of Script Execution

  12. After the script runs successfully, select Done.

    Finish button for completing the task

  13. Select Finish.

The schema has been generated in the target database.

Tip: You can also generate schema scripts and models directly from natural language descriptions using the AI Model Generator. This helps reduce manual effort and accelerate model creation.

Key Considerations

  • Ensure that the correct database and version are selected before you proceed.

  • Use filters to generate schema only for the required objects.

  • Save the schema before connecting, so you have a local copy.